package com.neusoft.my12306.service;

import com.neusoft.my12306.common.res.CommonResult;
import com.neusoft.my12306.entity.Ticket;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 葛彬
 * @since 2023-07-20
 */
public interface ITicketService extends IService<Ticket> {

    CommonResult querySeatnum(Ticket ticket,String fromSt, String toSt);

    CommonResult querySeat(Ticket ticket);

    CommonResult insertSeat(Ticket ticket);

    CommonResult delSeat(Ticket ticket);
}
